package cn.db.service;

import cn.db.entity.UserBase;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {


   public UserBase getUserInfo(long userId){
       UserBase userBase = new UserBase();
       userBase.setUserId(1);
       userBase.setId(1);
       userBase.setUserCode("1");
       userBase.setRealName("云澜");
       userBase.setPhoneNum("17621007255");
       userBase.setCustomLoginName("九天仙尊");
       userBase.setEmail("17621007255");
       userBase.setIdNumber("4114210092030330");
       userBase.setIdType("1");
       userBase.setPassword("121212");
       userBase.setEncodeType("sal");
       userBase.setGender("男");
       userBase.setNickName("云澜");
       return userBase;
   }

   public UserBase getUserMoney(long userId){
       UserBase userBase = new UserBase();
       userBase.setMoney("100");
       return userBase;
   }
}
